﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CLEXA.ClientTools.Collections
{
    public class ItemChangedEventArgs<T> : EventArgs
    {
        private readonly T oldValue;
        private readonly T newValue;

        public T OldValue
        {
            get { return oldValue; }
        }

        public T NewValue
        {
            get { return newValue; }
        }

        public ItemChangedEventArgs(T oldValue, T newValue)
        {
            this.oldValue = oldValue;
            this.newValue = newValue;
        }
    }
}
